package com.huike.mapper;

import com.huike.entity.Employee;
import com.huike.query.EmployeeQuery;

import java.util.List;
import java.util.Set;

public interface EmployeeMapper {

    Employee getEmployeeByUsername(String username);

    List<Employee> getAll(EmployeeQuery eq);

    int saveOrUpdate(Employee employee);

    Employee getEmpByID(Integer id);

    int deleteById(Long id);

    Set<String> getPermissinsByEmpId(Long id);
}
